import React, { Component } from 'react'
import { Message } from 'semantic-ui-react'

export default class ErrorPage extends Component {
  render() {
    const { msg, ...others } = this.props
    return (
      <div className="page-loading">
        <Message negative>
          <Message.Header>很抱歉发生了错误</Message.Header>
          <p>{msg}</p>
        </Message>
      </div>
    )
  }
}
